page {
    padding-bottom: 90rpx;
    background-color: #eee;
}

.detail_swiper {
    background-color: #fff;

    swiper {
        height: 65vw;
        text-align: center;

        image {
            width: 65%;
        }
    }

    border-bottom: 1px solid #eee;
}

.goods_desc {
    background-color: #fff;

    .goods_price {
        padding: 20rpx;
        font-size: 40rpx;
        font-weight: bold;
        color: var(--themeColor);
        border-bottom: 1rpx solid #eee;
    }

    .goods_name_row {
        display: flex;
        padding-top: 20rpx;
        padding-bottom: 20rpx;
        border-bottom: 1px solid #eee;

        .goods_name {
            flex: 5;
            color: #333;
            font-size: 26rpx;
            padding: 0 20rpx;

            overflow: hidden;
            /*文本过长后的内容变成省略号*/
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            /*超过所取行数时变成省略号*/
        }

        .goods_collect {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-left: 1px solid #ddd;

            .icon-shoucang {
                color: #333;
            }

            .icon-shoucangsel {
                color: orange;
            }

            .collect_text {}
        }
    }
}


.goods_appraise {
    margin-top: 20rpx;
    padding: 20rpx;
    background-color: #fff;

    .appraise_title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 20rpx;
        margin-bottom: 15rpx;
        border-bottom: 1rpx solid #eee;

        .text {
            font-size: 32rpx;
            font-weight: bold;
            color: #333;
        }

        .all {
            font-size: 26rpx;
            color: var(--themeColor);
        }
    }

    .appraise_content {
        .head {
            display: flex;
            align-items: center;
            margin-bottom: 15rpx;

            .head_img {
                width: 70rpx;
                height: 70rpx;
                border-radius: 50%;
                margin-right: 15rpx;
            }

            .name_time {
                display: flex;
                flex-direction: column;
                justify-content: center;
                font-size: 24rpx;
            }
        }

        .appraise {
            .text {
                overflow: hidden;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                margin-bottom: 15rpx;
            }

            .imgs {
                display: flex;
                justify-content: space-between;
                align-items: center;
                border-radius: 8rpx;
                overflow: hidden;
                position: relative;

                .img_item {
                    width: 24%;
                    height: 170rpx;
                    border-radius: 8rpx;
                }

                .img_num {
                    position: absolute;
                    right: 0;
                    bottom: 0;
                    color: #fff;
                    font-size: 18rpx;
                    padding: 5rpx 10rpx;
                    background-color: rgba(0, 0, 0, 0.4);
                }
            }

        }
    }
}

.shop_desc {
    margin-top: 30rpx;

    .btn_wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 30rpx;

        .item {
            margin-right: 20rpx;
            color: #fff;
            font-size: 20rpx;
            padding: 8rpx 30rpx;
            border: 1rpx solid #fff;
            border-radius: 30rpx;
        }
    }
}

.goods_recommend {
    padding: 15rpx;
    background-color: #fff;

    .recommend_title {
        font-weight: bold;
        font-size: 32rpx;
        padding-bottom: 10rpx;
        margin-top: 15rpx;
        margin-bottom: 15rpx;
        border-bottom: 1rpx solid #eee;
    }

    .recommend_wrap {
        padding-bottom: 15rpx;
        border-bottom: 1rpx solid #eee;
        display: flex;
        justify-content: center;
        align-items: center;

        .recommend_item {
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 33%;
            .img_wrap{
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                image {
                    border-radius: 8rpx;
                    width: 97%;
                    height: 230rpx;
                }
            }
            .goods_title {
                font-size: 24rpx;
                padding: 5rpx 8rpx;
                overflow: hidden;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
            }
            .goods_price {
                font-size: 32rpx;
                font-weight: bold;
                color: var(--themeColor);
            }
        }
    }
}


.goods_info {
    background-color: #fff;
    margin-top: 30rpx;

    .goods_info_title {
        font-size: 32rpx;
        color: var(--themeColor);
        font-weight: bold;
        padding: 20rpx;

        .icon-jiantou9 {
            vertical-align: middle;
            margin-left: 10rpx;
        }
    }

    .goods_info_content {}
}

.btm_tool {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 90rpx;
    background-color: #fff;
    display: flex;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);

    .tool_item {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 22rpx;
        position: relative;

        button {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
        }
    }

    .btn_cart {
        flex: 2;
        background-color: #ffa500;
        font-size: 28rpx;
        color: #fff;
    }

    .btn_buy {
        flex: 2;
        background-color: #eb4405;
        font-size: 28rpx;
        color: #fff;
    }
}